<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <style>
    body {
      width: 100%;
      height: 100vh;
      display: flex;
      /*排列方式 列*/
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }
    .color-picker {
      display: flex;
      margin-left: 10px;
      margin-right: 10px;
      align-items: center;
      justify-content: center;
    }
  </style>
</head>
<body>
<canvas id="canvas" width="600" height="400"></canvas>
<script src="canvas.js"></script>
</body>
</html>
